package com.itheima.shop.state_review;

/**
 * @program: design
 * @description:
 * @author: zhanghz001
 * @create: 2021-02-27 20:28
 **/
public class StateTestReview {
    public static void main(String[] args) {
        OrderReview order = new OrderReview();
        SubmitStateReview submitStateReview = new SubmitStateReview();
        CancelStateReview cancelStateReview = new CancelStateReview();
        
        submitStateReview.doAction(order);
        order.getStateReview().execute();
        
        cancelStateReview.doAction(order);
        
        order.getStateReview().execute();
        
    }
}
